package shiyan1;

public class ZhengFangXing implements Shape{
    private double a;
    @Override
    public void calS() {
        System.out.println(a*a);
    }

    public ZhengFangXing(double a) {
        this.a = a;
    }
}
